package com.drinks.yiniang.entity.goods;

import com.hansen.library.entity.BaseJson;

import java.io.Serializable;
import java.util.List;

/**
 * @author han
 * @date 2019/12/4
 */
public class RefundGoodsJson extends BaseJson {

    private RefundGoodsData data;

    public RefundGoodsData getData() {
        return data;
    }

    public void setData(RefundGoodsData data) {
        this.data = data;
    }

    public static class RefundGoodsData {
        private List<RefundGoodsList> goods_list;
        private List<RefundGoodsReason> reasons;
        //退款总金额
        private String total_price;

        public List<RefundGoodsList> getGoods_list() {
            return goods_list;
        }

        public void setGoods_list(List<RefundGoodsList> goods_list) {
            this.goods_list = goods_list;
        }

        public List<RefundGoodsReason> getReasons() {
            return reasons;
        }

        public void setReasons(List<RefundGoodsReason> reasons) {
            this.reasons = reasons;
        }

        public String getTotal_price() {
            return total_price;
        }

        public void setTotal_price(String total_price) {
            this.total_price = total_price;
        }
    }

    public static class RefundGoodsList {
        private String goods_id;
        private String goods_name;
        private String cover_url;
        private String recommend_reason;
        //容积
        private String single_capacity;
        private String price;
        private String num;

        public String getGoods_id() {
            return goods_id;
        }

        public void setGoods_id(String goods_id) {
            this.goods_id = goods_id;
        }

        public String getGoods_name() {
            return goods_name;
        }

        public void setGoods_name(String goods_name) {
            this.goods_name = goods_name;
        }

        public String getCover_url() {
            return cover_url;
        }

        public void setCover_url(String cover_url) {
            this.cover_url = cover_url;
        }

        public String getRecommend_reason() {
            return recommend_reason;
        }

        public void setRecommend_reason(String recommend_reason) {
            this.recommend_reason = recommend_reason;
        }

        public String getSingle_capacity() {
            return single_capacity;
        }

        public void setSingle_capacity(String single_capacity) {
            this.single_capacity = single_capacity;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getNum() {
            return num;
        }

        public void setNum(String num) {
            this.num = num;
        }
    }

    public static class RefundGoodsReason implements Serializable {
        private String id;
        private String name;
        //前端添加是否选中效果
        private boolean isChecked;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public boolean isChecked() {
            return isChecked;
        }

        public void setChecked(boolean checked) {
            isChecked = checked;
        }
    }
}
